import 'package:flutter/material.dart';

class Tab1Screen extends StatelessWidget{
  const Tab1Screen({super.key});

  @override
  Widget build(BuildContext context) {
   return ListView.builder(
     itemCount: 10,
       itemBuilder:(context,index)=>Card(
         margin: const EdgeInsets.all(8),
         elevation: 4,
         child: ListTile(
           leading: Image.network(
             'https://picsum.photos/100/100?random=$index',
             width:50,
             height: 50,
             fit: BoxFit.cover,
           ),
           title: Text('Item $index'),
           subtitle: Text('Description for item $index'),
           trailing: const Icon(Icons.arrow_forward),
         ),
       ),
   );
  }


}